import request from '@/utils/request';
import { BasicUrl } from '@/common/service-prefix'

export interface UserRegisterParams {
    mail: string;
    password: string;
    confirm: string;
    mobile: string;
    captcha: string;
    prefix: string;
}

export async function fakeRegister(params: UserRegisterParams) {
    return request(`${BasicUrl}/member/register`, {
        method: 'POST',
        data: params,
    });
}
